<%@ taglib uri="/webwork" prefix="ww"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'customerRegiste.jsp' starting page</title>
    
  		<script type="text/javascript" src="/CommonSale/js/validator.js">
		</script>
  	
	<style type="text/css">
	#commonPageDiv
	{
	position:relative;
	width:800px;
	height:auto;
	z-index:1;
	left:0px;
	top:0px;
	}
	</style>
	
  </head>
  
  <body>
  
 <div>
 
 <form action="customerRegister.action" scope="post" onSubmit="return Validator.Validate(this,2)" >


 <table>
 
 <tr>
 <td colspan="2"><ww:text name="table.title.customerRegister"/></td>
 </tr>
 
  <!-- 用户名 -->
 <tr>
 <td><ww:text name="customer.E-mail"/></td>
 <td><input name="customerEmail" type="text" dataType="Email"  msg="please  enter the correct Email" /></td>
 </tr>
 
  <!-- 密码 -->
 <tr>
 <td> <ww:text name="customer.password"/></td>
 <td><input name="password" type="password" align="right" dataType="Require" msg="enter the password"/></td>
 </tr>
 
  <!-- 确认密码 -->
 <tr>
 <td> <ww:text name="customer.password.repeated"/></td>
 <td><input name="repassword" type="password" align="right" dataType="Repeat" to="password"  msg="两次密码输入不一致"/></td>
 </tr>
 
  <!-- 电话联系方式 -->
  <tr>
  <td> <ww:text name="customer.tel"/></td>
  <td> <input name="tel" type="text" align="right" dataType="Phone" msg="enter the correct telphone"/></td>
  </tr>
  
    <!--所在公司信息  -->
  <tr>
  <td>  <ww:text name="customer.company"/></td>
  <td>  <input name="company" type="text" dataType="Require" msg="can't be null"/></td>
  </tr>
  
    <!--真实姓名  -->
  <tr>
  <td> <ww:text name="customer.realName"/> </td>
  <td> <input name="realName" type="text" dataType="Require" msg="can't be null"/></td>
  </tr>
  
  <tr>
  <td colspan="2"> <input type="submit" value="<ww:text name="button.submit.text"/>"/></td>
  </tr>
 </table> 

 </form>
 
  </div>
  </body>
</html>
